.class Lcom/waiqin365/lightapp/kaoqin/cn;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->dismissProgressDialog()V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/s;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/s;->b()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/s;->a()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "1"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/s;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/o;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/b/o;-><init>()V

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/s;->a:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/s;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/s;->d:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/s;->c:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/b/o;->e:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->a(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Lcom/waiqin365/lightapp/view/ImagePreview;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/ImagePreview;->a(Lcom/waiqin365/lightapp/kehu/b/o;)V

    new-instance v1, Landroid/content/Intent;

    const-string/jumbo v2, "android.intent.action.RUN"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    const-class v3, Lcom/fiberhome/upload/UpLoadService;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/s;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string/jumbo v0, ""

    :cond_0
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "opcodes"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    const/4 v2, 0x7

    invoke-virtual {v0, v2, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->setResult(ILandroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->back()V

    goto :goto_0

    :cond_1
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/s;->c()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/s;->c()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    const/4 v2, 0x0

    invoke-static {v1, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->b(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/s;->e:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/cn;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;->c(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinBusinesstripMapActy;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/s;->e:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x17
        :pswitch_0
    .end packed-switch
.end method
